package com.cgwx.common.config;

//import com.cgwx.auth.filter.AuthFilter;
import com.cgwx.auth.security.DataSecurityAction;
import com.cgwx.auth.security.impl.Base64SecurityAction;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * web配置
 *
 * @author fengshuonan
 * @date 2017-08-23 15:48
 */
@Configuration
public class WebConfig {

//    @Bean
//
//    public AuthFilter jwtAuthenticationTokenFilter() {
//        return new AuthFilter();
//    }

    @Bean
    public DataSecurityAction dataSecurityAction() {
        return new Base64SecurityAction();
    }
}
